package com.chat.service;

import com.chat.Local;
import com.chat.common.Message;
import com.chat.common.MessageType;

/*
   更改群信息
 */
public class UpdateGroupMsg {
     public void updategroupmsg(){
          Message msg=new Message();
          msg.setMesType(MessageType.MESSAGE_UPDATE_GROUP_MSG);
          msg.setData(Local.group);
          ClientConnectServerThread clientConnectServerThread=ManageClientConnectServerThread.getClientConnectServerThread(Local.user.getUsername());
          clientConnectServerThread.send(msg);
     }
}
